Get Annotation Task

Get a specific task

Request
path Parameters
id
required
string

: Task ID

Responses
200

Ok

400

Missing or Invalid id

404

Task not found

get/annotationtasks/{id}
Request samples

dataset.tasks.get(task_id='task_id')

# 
# Get a Task object to use in your code.
# 
# **Prerequisites**: You must be in the role of an *owner* or *developer* or *annotation manager* who has been assigned the task.
# 
# :param str task_name: optional - search by name
# :param str task_id: optional - search by id
# :return: task object
# :rtype: dtlpy.entities.task.Task
# 
# 
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "updatedBy": "string",
  • "creator": "string",
  • "name": "string",
  • "taskOwner": "string",
  • "dueDate": 0,
  • "datasetId": "string",
  • "recipeId": "string",
  • "projectId": "string",
  • "spec": {
    },
  • "hasParent": true,
  • "query": "string",
  • "assignmentIds": [
    ],
  • "status": "open",
  • "metadata": {
    },
  • "totalItems": 0,
  • "itemStatus": {
    },
  • "progress": 0,
  • "forReview": 0,
  • "issues": 0,
  • "availableActions": [
    ],
  • "error": "string",
  • "priority": 0,
  • "emptyInactiveAssignments": 0,
  • "description": {
    }
}